package com.fh.user.service;

import com.fh.user.entity.vo.User;

import java.util.List;

/**
 * 描述:
 * Author:袁亚强
 * Date:2021/12/911:13
 */
public interface UserService {
    Integer sendMimeMail(String email);

    Integer validatecode(String email ,String code);


    Integer addUser(User user);

    String login(String name,String password);

    List<User> queryUser();

    User queryToken(String token);

}
